package com.foreveross.mofang.datapersistence.infra.service;

import javax.jms.Destination;

import com.foreveross.taskservice.common.bean.AbstractTask;

/**
 * 数据持久化后消息发送服务仓储接口
 * 
 * @author fb
 */
@SuppressWarnings("deprecation") 
public interface IDataPersistenceMsgService {

	void sendMessage(Destination destination, final String message);
	
	void sendTopicMessage(String destination, final String message);

	void sendMessage(final String message);
	
	void roolbackTaskQueueRecordEntity(AbstractTask task);
}
